package com.summer.mall.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.ArrayList;
import java.util.List;

public class CustomService {
    private String sessionId;
    private Integer cs_id;
    private String cs_name;
    private String cs_password;
    private Boolean acceptCustomer;
    private Long lastTime;
    private List<ChatMsg> chatMsgArray;
    private List<Customer> customerList;

    public CustomService() {
        this.sessionId = null;
        this.cs_id = null;
        this.cs_name = null;
        this.cs_password = null;
        this.acceptCustomer = null;
        this.lastTime = null;
        this.chatMsgArray = new ArrayList<>();
        this.customerList = new ArrayList<>();
    }

    @JsonIgnore
    public List<Customer> getCustomerList() {
        return customerList;
    }

    public void setCustomerList(List<Customer> customerList) {
        this.customerList = customerList;
    }

    @JsonIgnore
    public List<ChatMsg> getChatMsgArray() {
        return chatMsgArray;
    }

    public void setChatMsgArray(List<ChatMsg> chatMsgArray) {
        this.chatMsgArray = chatMsgArray;
    }

    public Long getLastTime() {
        return lastTime;
    }

    public void setLastTime(Long lastTime) {
        this.lastTime = lastTime;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    @JsonIgnore
    public String getCs_password() {
        return cs_password;
    }

    public void setCs_password(String cs_password) {
        this.cs_password = cs_password;
    }

    public Boolean getAcceptCustomer() {
        return acceptCustomer;
    }

    public void setAcceptCustomer(Boolean acceptCustomer) {
        this.acceptCustomer = acceptCustomer;
    }

    public Integer getCs_id() {

        return cs_id;
    }

    public String getCs_name() {
        return cs_name;
    }

    public void setCs_name(String cs_name) {
        this.cs_name = cs_name;
    }

    @Override
    public String toString() {
        return "CustomService{" +
                "cs_id=" + cs_id +
                ", cs_name='" + cs_name + '\'' +
                ", acceptCustomer=" + acceptCustomer +
                '}';
    }
}